<!-- 主页面 -->
<template>
  <el-container>
    <v-menu />
    <el-container>
      <el-header>
        <v-header />
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>
    
<script>
import menuVue from "@/components/menu.vue";
import headerVue from "@/components/header.vue";
export default {
  components: {
    "v-menu": menuVue,
    "v-header": headerVue,
  },
};
</script>
    
<style scoped>
.el-header {
  background-color: #303133;
  color: #333;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}
</style>